;(function () {
  require.config({
    baseUrl: './',
    paths: {
      'text': '/lib/require/text',
      'css': '/lib/require/css.min',
        'qs': '/lib/qs/qs',
      'axios': '/lib/axios/axios.min',
      'cookie': '/lib/cookie/js.cookie.min',
      // 'json': '/lib/json3.min',
      'vue': '/lib/vue/vue.min',
      'vue-router': '/lib/vue/vue-router.min',
      'vuex': '/lib/vue/vuex.min',
      'iview': '/lib/iview/iview.min',
      'echarts': '/lib/echarts/echarts.min',
      'WxCore': '/common/WxCore',
      'httpClient': '/common/httpClient',
      'siteConfig': '/config/siteConfig',
      'restTemplate': '/common/restTemplate'
    },
    waitSeconds: 5,
    urlArgs: 'version=' + Date.now(),
    shim: {
      'vue': {
        exports: 'Vue'
      },
      'vue-router': {
        exports: 'VueRouter'
      },
      'iview': {
        exports: 'iview',
        deps: ['vue']
      },
      'appMain': {
        exports: 'vueApp'
      }
    },
    deps: ['text', 'css', 'vue', 'vue-router', 'vuex', 'iview', 'wxcore', 'httpClient', 'appMain']
  })
})()
